//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
//
/*++
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.

Module Name: wbtdsktp.h

Abstract:

Notes:
--*/


#ifndef __WBTDSKTP_H__
#define __WBTDSKTP_H__


typedef class
CWbtDesktopWindow {
      
public:
        CWbtDesktopWindow();
       ~CWbtDesktopWindow();
   BOOL InitInstance(HINSTANCE hInstance);
   VOID DesktopSetCursor(LPCTSTR lpCursorName);
   VOID DesktopShow();
   VOID HandlerTaskmanVKey();
   VOID StartTerminalSetup( int reason);
   VOID TaskmanShow();

private: 
   
   HWND hwnd;
   DWORD dwTerminalSetupPID;   
   HBRUSH hBrush;
   HCURSOR hCursor;
   HINSTANCE hInstance;
   int iReasonStartTerminalSetup;
   
   static BOOL    CALLBACK SetForegroundSetup(HWND hwnd, LPARAM lParam);
   static DWORD   WINAPI   TerminalSetupProc(LPVOID lpvThreadParam);   
   static LRESULT CALLBACK WbtDesktopWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);   
   
} WBTDESKTOP, *PWBTDESKTOP;


#endif // __WBTDSKTP_H__


